package com.erp.user.service;

import com.erp.user.entity.Users;
import com.erp.common.response.ListVo;
import com.erp.user.request.*;
import com.erp.user.response.*;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @author shensong
 * @program machining_system.v1.0.0
 * @description  服务类
 * @date 2022/12/21 16:49:24
 */
public interface UsersService extends IService<Users> {

    ListVo<List<UsersInfoResp>> index(UsersPageReq request);

    Boolean store(UsersAddReq request);

    Boolean update(UsersUpdateReq request);

    Boolean destroy(UsersDeleteReq request);

    Boolean approve(UsersApproveReq request);

    Boolean enabled(UsersStatusReq request);

    UsersInfoResp show(UsersInfoReq request);

    UsersDetailInfoResp detail(UsersInfoReq request);

    List<UsersInfoResp> option(UsersListReq request);

    List<UsersSearchInfoResp> search(UsersSearchReq request);

}
